<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="copyright" content="本页版权 www.zongheng.com 纵横中文网所有。All Rights Reserved"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="shortcut icon" href="https://static.zongheng.com/favicon.ico"/>
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>小说_小说推荐_好看的完本免费小说推荐</title>
    <meta name="keywords" content="书库，热门小说书库，连载小说书库，全本小说书库，书库更新列表，纵横中文网书库。"/>
    <meta name="description" content="纵横中文网小说书库，提供最新小说在线阅读，最新小说TXT下载，经典完本小说，包括奇幻小说，玄幻小说，言情小说，都市小说等各类小说尽在纵横中文网小说书库。"/>

    <link rel="stylesheet" type="text/css" th:href="@{/css/basic.min.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/css/store.min.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/css/index.min.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/layui/css/layui.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/css/common.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/css/ucenter.css}"/>

    <script type="text/javascript" th:src="@{/layui/layui.js}"></script>
    <script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>


    <style>
        a {
            cursor: pointer;
        }

        body {
            background-color: #FCFCFC;
        }

        dl,
        dd {
            margin: 0;
        }

        #box dl {
            height: 50px;
            line-height: 50px;
            border-bottom: 1px dashed #dadada;
            margin: 0 20px;
        }

        #box dt {
            float: left;
            color: #8a8a8a;
        }

        #box dd {
            float: left;
            color: #252525;
            margin: 0 10px;
            font-size: 14px;
            cursor: pointer;
        }

        #box dl.select dd {
            border: 1px solid #c4284d;
            height: 25px;
            line-height: 25px;
            margin-top: 13px;
            padding: 0 2px 0 10px;
            border-radius: 3px;
            background-color: #fff;
        }

        #box dl.select dd span {
            width: 20px;
            height: 20px;
            display: inline-block;
            text-align: center;
            line-height: 20px;
            background: #c4284d;
            color: #fff;
            margin-left: 10px;
            cursor: pointer;
            border-radius: 5px;
        }

        .char_btn_formpay {
            color: #fff;
            font-size: 18px;
            font-family: "微软雅黑";
            display: block;
            background: url(http://static.zongheng.com/v2014/images/author_icon.gif) no-repeat 0 -165px;
            width: 220px;
            height: 44px;
            text-align: center;
            line-height: 44px;
            text-decoration: none;
            cursor: pointer;
            word-wrap: break-word;
        }

    </style>

</head>
<body scriptsign="charge" paymethod="alipay" channelcode="ICBC-NET-B2C">

<div class="wrap">

    <div class="head">
        <div class="head-top clearfix">
            <div class="logo imgbox fl">
                <a th:href="@{/index}"><img th:src="@{/picture/logo.png}" alt="logo" src=""></a>
            </div>
            <form id="commSearch" name="searchForm" method="get" th:action="@{/search}" target="_blank">
                <div class="search-box fl" data-hook="searchSuggest">
                    <label>
                        <input class="search-text fl" name="search" type="text"
                               placeholder="请输入书名"/>
                    </label>
                    <input type="submit" class="search-btn fr"/>
                </div>
            </form>
            <div class="right-wrap-login ud_userTox" style="right: 0">
                <div class="unlogin ud_unlogin clearfix">
                    <div th:if="${session.loginUser==null}" class="login fl"><a class="user_login layui-icon"
                                                                                th:href="@{/login}">&#xe66f;登录</a></div>
                    <div th:if="${session.loginUser==null}" class="regist fl"><a class="user_register layui-icon"
                                                                                 th:href="@{/signin}">&#xe672;注册</a>
                    </div>
                    <div th:if="${session.loginUser==null}" class="regist fl">
                        <a style="padding-left: 12px" class="layui-icon layui-icon-template-1 "
                           th:href="@{/author/index}">作家专区</a>
                    </div>
                    <div th:if="${session.loginUser!=null}" class="shelf">
                        <a class="user_login layui-icon" th:href="@{/personal}">&#xe66f;个人中心</a>
                        <a style="padding-left: 12px;" th:href="@{/shelf}" class="layui-icon"
                           target="_blank">&#xe705;书架</a>
                        <a style="padding-left: 12px" class="layui-icon layui-icon-template-1 "
                           th:href="@{/author/index}">作家专区</a>
                        <a style="padding-left: 12px;" class="layui-icon layui-icon-rmb" th:href="@{/recharge}">充值</a>
                        <a style="padding-left: 12px;" class="layui-icon" th:href="@{/logout}">&#x1006;注销</a>
                    </div>
                </div>
            </div>
        </div>
        <div style="display: none" class="nav clearfix">
            <a class="active" th:href="@{/index}">书库<em></em></a>
        </div>
    </div>


    <div class="h20-blank"></div>
    <!-- 书库主内容 -->
    <!-- 顶部复选区 -->
    <div class="h15-blank"></div>

    <!--充值中心核心内容-->
    <div class="main uc-content">
        <div class="uc-main-row clearfix">
            <div class="uc-content">

                <div class="charge_con" style="font-size: 20px;width: 600px;height: 300px">


                    <div class="tit">
                        <ul class="bsc-info">
                            <li style="font-size: 20px" th:text="'注册邮箱：'+${session.loginUser.userEmail}"></li>
                        </ul>
                    </div>

                    <div class="tit">
                        <ul class="bsc-info">
                            <li id="user-amount" style="font-size: 20px"
                                th:text="'账户余额：'+${session.loginUser.amount}"></li>
                        </ul>
                    </div>


                    <div class="tit" style="font-size: 12px">
                        <span class="fs14" style="font-size: 20px">充值数额：</span>
                        （1元=100书币; 单笔充值超过50元,每满50元送1张推荐票）
                    </div>

                    <form action="/alipay/jump" method="post">

                        <div class="bin_charge_choose_clear">

                            <br>
                            <div style="margin-bottom: 4px" th:each="item : ${itemList}">
                                <label>
                                    <li>
                                        <input th:text="${item.balance}+'书币;&nbsp;&nbsp;&nbsp;&nbsp;'+${item.cost+''}+'rmb'"
                                               th:value="${item.id}"
                                               name="id" class="btn store-btn no-stored"
                                               type="radio">
                                    </li>
                                </label>
                            </div>

                            <!--      <div>
                                      <label>
                                          <input value="30" name="cost" class="btn store-btn no-stored" type="radio">
                                          3000书币
                                      </label>
                                  </div>

                                  <div>
                                      <label>
                                          <input value="50" name="cost" class="btn store-btn no-stored" type="radio">
                                          5000书币
                                      </label>
                                  </div>

                                  <div>
                                      <label>
                                          <input value="100" name="cost" class="btn store-btn no-stored" type="radio">
                                          10000书币
                                      </label>
                                  </div>

                                  <div>
                                      <label>
                                          <input value="1000" name="cost" class="btn store-btn no-stored" type="radio">
                                          100000书币
                                      </label>
                                  </div>
      -->
                        </div>

                        <br>

                        <p align="center">
                            <input type="submit" class="btn store-btn no-stored" value="立即充值">
                        </p>

                    </form>

                </div>


            </div>
        </div>
    </div>


    <!-- end书库主内容 -->
</div>

<div class="footer">
    <div class="copyright">
        <div class="links"><a href="" target="_blank">关于纵横</a>|
            <a href="" target="_blank">诚聘英才</a>|
            <a href="" target="_blank">商务合作</a>|
            <a href="" target="_blank">法律声明</a>|
            <a href="" target="_blank">帮助中心</a>|
            <a href="" target="_blank">作者投稿</a>|
            <a href="" target="_blank">联系我们</a>|
            <a href="" target="_blank">友情链接</a>|
            <a href="" target="_blank">谨防诈骗</a>|
            <a href="" target="_blank">网站地图</a></div>
        <p>Copyright©<a href="">www.zongheng.com</a>All Rights Reserved 版权所有
            北京幻想纵横网络技术有限公司
            <a href="" target="_blank">京ICP证080527号</a>
            <a href="" target="_blank">京ICP备11009265号</a>
            <a href="" target="_blank">京网文[2018]10695-962号</a></p>
        <p>
            <a href="" target="_blank">新出发京零字第朝130010号</a> 丨
            统一社会信用代码91110105678221683F 丨
            <a href="" target="_blank">京公网安备
                11010502030124号</a> 丨
            <a href="" target="_blank">公安部网络违法犯罪举报网站</a>
        </p>
        <p><a href="" target="_blank">纵横小说网</a>,提供<a
                href="" target="_blank">玄幻小说</a>,<a href=""
                                                    target="_blank">都市小说</a>,<a
                href="">言情小说</a>等<a
                href="" target="_blank">免费小说</a>阅读。作者发布小说作品时，请遵守国家互联网信息管理办法规定。
        </p>
        <p>本站所收录小说作品、社区话题、书库评论均属其个人行为，不代表本站立场。</p>
    </div>
</div>

<script>

    //网页加载结束要执行的方法
    $(function () {
        getUserAmount();
    });

    //获取账户余额
    function getUserAmount() {
        $.ajax({
            url: "/user/amount",
            method: "post",
            success: function (result) {
                $("#user-amount").html(result);
            }
        });
    }


</script>

</body>
</html>